// @ts-nocheck
import request from '@/utils/request'

// 接口1 :频道新闻推荐_V1.1
export const getArticles = params => {
  return request({
    method: 'get',
    url: '/v1_0/articles',
    params,
  })
}

// 接口2 : 获取文章详情
export const getArticleById = articleId => {
  return request({
    url: `/v1_0/articles/${articleId}`,
  })
}
